<html>
<head>
<style>
@page {
  size: 200px 200px;
  margin: 10px;
  -fs-max-overflow-pages: 10;
  -fs-overflow-pages-direction: ltr;
}
body {
  margin: 0;
}
.header {
  box-sizing: border-box;
  height: 60px;
  width: 60px;
  position: fixed;
  top: 0;
  border: 2px solid red;
}
</style>
</head>
<body>
<div class="header" style="font-family: 'TestFont'; font-size: 14px;">ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ</div>
<div></div>
<div style="background-color: blue; width: 150%; min-height: 20px; margin-top: 80px;"></div>
</body>
</html>
